
import os,sys
current_dir = os.path.dirname(os.path.abspath(__file__))  
current_parent=os.path.dirname(current_dir)
sys.path.append(os.path.join(current_parent))

import requests
from pylibs import HttpUtil




str1="curl --url 'http://49.233.50.97:8096/primeton/itms-system/sys/user/queryByIds' \
  -H 'Accept: application/json, text/plain, */*' \
  -H 'Accept-Language: zh-CN,zh;q=0.9' \
  -H 'Authorization: eyJ0Uq_wos7s' \
  -H 'Content-Type: application/json;charset=UTF-8' \
  -H 'Cookie: sidebar_collapsed=false; token=eyJs7s' \
  -H 'Data-Range: 2' \
  -H 'Origin: http://49.233.50.97:8096' \
  -H 'Proxy-Connection: keep-alive' \
  -H 'Referer: http://49.233.50.97:8096/taskAndJobBooking/new' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36' \
  -H 'X-Access-Token: eyJ0eXGciOs7s' \
  -H 'X-Sign: E19D6243CB1945AB4F7202A1B00F77D5' \
  -H 'X-TIMESTAMP: 1716687629221' \
  -H 'tenant-id: 0' \
  --data-raw '{\"userIds\":\"3b7785929acfbdc1dca90dbdfafeef5f\"}' \
  --insecure"

str7="curl 'https://www.runoob.com/try/demo_source/html_form_action.php?user=sdsd' \
  -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
  -H 'accept-language: zh-CN,zh;q=0.9' \
  -H 'cache-control: max-age=0' \
  -H 'cookie: runoob-uuid=8251202a-4c48-4c87-b2db-81e4f687f81d; Hm_lvt_3eec0b7da6548cf07db3bc477ea905ee=1716691694; _gid=GA1.2.1210207066.1716691694; __gads=ID=d1a80775b90c0b97:T=1716691694:RT=1716692165:S=ALNI_MbeZ1uqbt5Bateku5svN3IhiAOFnw; __gpi=UID=00000e2cc7ac8560:T=1716691694:RT=1716692165:S=ALNI_MbaY37YgGCT7VUgMcU7NatWBliG8w; __eoi=ID=1ad091efed037f1a:T=1716691694:RT=1716692165:S=AA-AfjYLtFPZu0bsushjqpxFf7WH; _gat_gtag_UA_84264393_2=1; FCNEC=%5B%5B%22AKsRol-1gVQROMGDPqLaHs67T0p2cC4xx5o7YTMZ0Rg_1JoYWKrKKYSZ_PUQW_S16EOxtL73UQeGJkVX17QtfM_0cPALxH64gbF6gC2WaA9XirGiA3DHZeinEmDV743rhlLTR8PmAIcW66JmcQZqYyKahUyuOUFU3Q%3D%3D%22%5D%5D; _ga=GA1.2.1129240880.1716691694; Hm_lpvt_3eec0b7da6548cf07db3bc477ea905ee=1716692198; _ga_GZWD71V4S3=GS1.1.1716691694.1.1.1716692209.0.0.0' \
  -H 'priority: u=0, i' \
  -H 'referer: https://www.runoob.com/html/html-forms.html' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-fetch-dest: document' \
  -H 'sec-fetch-mode: navigate' \
  -H 'sec-fetch-site: same-origin' \
  -H 'sec-fetch-user: ?1' \
  -H 'upgrade-insecure-requests: 1' \
  -d 'abc=12' -d 'abc=45'\
  -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36'"

str6="curl 'http://49.233.50.97:8096/primeton/itms-system/sys/user/queryByIds' \
  -H 'Accept: application/json, text/plain, */*' \
  -H 'Accept-Language: zh-CN,zh;q=0.9' \
  -H 'content-type: application/json;charset=UTF-8' \
  -H 'Data-Range: 2' \
  -H 'Origin: http://49.233.50.97:8096' \
  -H 'Proxy-Connection: keep-alive' \
  -H 'Referer: http://49.233.50.97:8096/taskAndJobBooking/new' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36' \
  -H 'X-Sign: E19D6243CB1945AB4F7202A1B00F77D5' \
  -H 'X-TIMESTAMP: 1716687629221' \
  -H 'tenant-id: 0' \
  --data-raw '{\"userIds\":\"3b7785929acfbdc1dca90dbdfafeef5f\"}' \
  --insecure"

str5="curl 'http://49.233.50.97:8096/primeton/itms-task/trTaskWorkFlow/querProcessWorkbenchWithPage?flage=1&pageIndex=0&pageSize=5' \
  -H 'Accept: application/json, text/plain, */*' \
  -H 'Accept-Language: zh-CN,zh;q=0.9' \
  -H 'Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiIxIiwicm5TdHIiOiJRMFYwcWNXd1lJNjlUYjNrQXZrMVFoZmhzR0pQQ3pURyIsInVzZXJJbmZvIjp7ImlkIjoiMSIsInVzZXJDb2RlIjoiYWRtaW4iLCJ1c2VyTmFtZSI6ImFkbWluIiwiaWRUeXBlIjoiMSIsImlkTm8iOiJzbTQtNjRjNTFmYjJjZDYyNzNjNDYxNDAwMzExZTQ1MjY3ZjU4ZDQxYTRhYTUxZjFmOTI2ZGUyOTNmMzhkOWRmYWVjYiIsImJpcnRoIjoxNzAyNTY5NjAwLCJtb2JpbGUiOiJzbTQtZDAyOGEwYmM2ZmE5NGM3ZTA2ZDFkZjg3M2NjNWU1YjkiLCJuYXRpb24iOjAsInNleCI6MSwiZ3JhZGVMZXZlbCI6IjAzIiwibWFyaXRhbCI6IjAiLCJwYXNzd29yZCI6ImY4YTdlMWM5NTBhZmUyNGI4ZTc4MjVkMDA5MmQ0N2MyIiwibGFzdExvZ2luVGltZSI6MTcxNjYwMDE2MiwidXNlclN0YXR1cyI6MSwiaXNEZWxldGVkIjowLCJ0ZW5hbnRJZCI6ImtncHQiLCJjcmVhdGVkQnkiOiIxIiwiY3JlYXRlVGltZSI6MTY5ODc2ODAwMCwidXBkYXRlZEJ5IjoiMSIsInVwZGF0ZVRpbWUiOjE3MTY2MDAxNjIsInNhbHQiOiIxNjkyNERTSiIsInR5cGUiOiJpbnNpZGUiLCJtYWluT3JnSWQiOiIxNzExNjY1ODEyOTU1MjUwNjg5IiwiaXNEZXNpZ25UaW1lIjowfSwidXNlcklkIjoiMSIsInVzZXJOYW1lIjoiYWRtaW4iLCJ0ZW5hbnRJZCI6ImtncHQifQ.Xg9SoCqa04JF-DCTiFz7UZ7hLqsU0o91NcvUq_wos7s' \
  -H 'Content-Type: application/json;charset=UTF-8' \
  -H 'Cookie: sidebar_collapsed=false; token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiIxIiwicm5TdHIiOiJRMFYwcWNXd1lJNjlUYjNrQXZrMVFoZmhzR0pQQ3pURyIsInVzZXJJbmZvIjp7ImlkIjoiMSIsInVzZXJDb2RlIjoiYWRtaW4iLCJ1c2VyTmFtZSI6ImFkbWluIiwiaWRUeXBlIjoiMSIsImlkTm8iOiJzbTQtNjRjNTFmYjJjZDYyNzNjNDYxNDAwMzExZTQ1MjY3ZjU4ZDQxYTRhYTUxZjFmOTI2ZGUyOTNmMzhkOWRmYWVjYiIsImJpcnRoIjoxNzAyNTY5NjAwLCJtb2JpbGUiOiJzbTQtZDAyOGEwYmM2ZmE5NGM3ZTA2ZDFkZjg3M2NjNWU1YjkiLCJuYXRpb24iOjAsInNleCI6MSwiZ3JhZGVMZXZlbCI6IjAzIiwibWFyaXRhbCI6IjAiLCJwYXNzd29yZCI6ImY4YTdlMWM5NTBhZmUyNGI4ZTc4MjVkMDA5MmQ0N2MyIiwibGFzdExvZ2luVGltZSI6MTcxNjYwMDE2MiwidXNlclN0YXR1cyI6MSwiaXNEZWxldGVkIjowLCJ0ZW5hbnRJZCI6ImtncHQiLCJjcmVhdGVkQnkiOiIxIiwiY3JlYXRlVGltZSI6MTY5ODc2ODAwMCwidXBkYXRlZEJ5IjoiMSIsInVwZGF0ZVRpbWUiOjE3MTY2MDAxNjIsInNhbHQiOiIxNjkyNERTSiIsInR5cGUiOiJpbnNpZGUiLCJtYWluT3JnSWQiOiIxNzExNjY1ODEyOTU1MjUwNjg5IiwiaXNEZXNpZ25UaW1lIjowfSwidXNlcklkIjoiMSIsInVzZXJOYW1lIjoiYWRtaW4iLCJ0ZW5hbnRJZCI6ImtncHQifQ.Xg9SoCqa04JF-DCTiFz7UZ7hLqsU0o91NcvUq_wos7s' \
  -H 'Data-Range: 2' \
  -H 'Origin: http://49.233.50.97:8096' \
  -H 'Proxy-Connection: keep-alive' \
  -H 'Referer: http://49.233.50.97:8096/nx-dashboard' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36' \
  -d 'abc=123' -F 'abc=789'\
  --form ad=1232 \
  --insecure"

str4="curl 'http://49.233.50.97:8096/primeton/itms-task/trTask/save' \
  -H 'Accept: application/json, text/plain, */*' \
  -H 'Accept-Language: zh-CN,zh;q=0.9' \
  -H 'Content-Type: application/json;charset=UTF-8' \
  -H 'Data-Range: 2' \
  -H 'Origin: http://49.233.50.97:8096' \
  -H 'Proxy-Connection: keep-alive' \
  -H 'Referer: http://49.233.50.97:8096/taskAndJobBooking/new' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36' \
  -H 'X-Sign: E19D6243CB1945AB4F7202A1B00F77D5' \
  -H 'X-TIMESTAMP: 1716695286473' \
  -H 'tenant-id: 0' \
  --data-raw '{\"task\":{\"parentId\":\"\",\"title\":\"cui-test2\",\"content\":\"cui-test2\",\"typeKey\":\"task_type_0301\",\"sighUserId\":\"\",\"planStartTime\":\"2024-05-11 08:30:00\",\"planFinishTime\":\"2024-05-29 17:30:00\",\"importLevel\":\"01\",\"userAvgDuration\":null,\"planDurationHour\":0,\"planDurationDay\":\"14.0\",\"prevTaskIds\":\"\",\"nextTaskIds\":\"\",\"isMilestone\":0,\"assignType\":1,\"keyDealUserId\":\"3b7785929acfbdc1dca90dbdfafeef5f\",\"planUserCount\":1,\"systemId\":\"\",\"projectPhaseId\":\"\",\"projProjectId\":\"\"},\"taskUsers\":[],\"attachTypes\":[],\"buziRelates\":[{\"tablebId\":\"\",\"tablebName\":\"\"}]}' \
  --insecure"

str2="curl --request POST \
  --url 'http://127.0.0.1:8084/sys/life-log/test1?id1=a12&id1=C5027ABE1F0411B2886DE6BF7D23AFBA&_t=1715134454547' \
  --header 'Accept: application/json, text/plain, */*' \
  --header 'Accept-Language: zh-CN,zh;q=0.9' \
  --header 'Connection: keep-alive' \
  --header 'Cookie: sidebar_collapsed=false; token=' \
  --header 'Data-Range: 2' \
  --header 'Referer: http://49.233.50.97:8096/knowledge-base/detailKnowledge?id=d2f681a2515541259693278a4452df6a&currentState=10' \
  --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36' \
  --header 'X-Access-Token: ' \
  --header 'X-Sign: BEF68A854DE876D0D9385BFF3FB049AA' \
  --header 'X-TIMESTAMP: 1715134454719' \
  --header 'tenant-id: 0' \
  --header 'token: '"

str3="curl  --request POST \
  --data captcha= \
  --url http://49.233.50.97:8088/itms-system/sys/login \
  --header 'content-type: application/x-www-form-urlencoded' \
  --data 'password=d255f3d534c7027cdf87b1e971c43c5b' \
  --data 'username=b7517825a215f5e716dd47e445a9d27b' \
  --data checkKey=1629428467008 -F 'a=1' -F 'b=2' -F a=12 --data-raw '{\"a13\":\"2sdkj\"}' "

str10="curl -d 'ab=12' --url http://49.233.50.97:8088/itms-system/sys/login \
  --header 'content-type: application/x-www-form-urlencoded' "

str11="curl -H 'Content-Type: application/json' \
    -d '{\"abc\":23}'  \
     -d 'field1=value1' -d 'file=@filename.txt' http://example.com/upload?ab=1&cd=22&cd=24"

str12='curl --data "field1=value1&field2=value2" --data-raw "{"info":"abc"}" http://example.com/resource?ad=13&de=2a&a23'

str15="curl 'https://ame.primeton.com/default/common/jsp/codeImage.jsp?name=verifyCode&imageHeight=21&length=4&type=number' \
  -H 'Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8' \
  -H 'Accept-Language: zh-CN,zh;q=0.9' \
  -H 'Connection: keep-alive' \
  -H 'Cookie: JSESSIONID=ED3D02C7C3FB2DE27C32CF7A0C7ADF68; __bid_n=18d677683b612485b2479b; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%2218d677687a4154-06b4ebb3de01d38-26001951-1049088-18d677687a523c%22%2C%22first_id%22%3A%22%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E7%9B%B4%E6%8E%A5%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC_%E7%9B%B4%E6%8E%A5%E6%89%93%E5%BC%80%22%2C%22%24latest_referrer%22%3A%22%22%7D%2C%22identities%22%3A%22eyIkaWRlbnRpdHlfY29va2llX2lkIjoiMThkNjc3Njg3YTQxNTQtMDZiNGViYjNkZTAxZDM4LTI2MDAxOTUxLTEwNDkwODgtMThkNjc3Njg3YTUyM2MifQ%3D%3D%22%2C%22history_login_id%22%3A%7B%22name%22%3A%22%22%2C%22value%22%3A%22%22%7D%2C%22%24device_id%22%3A%2218d677687a4154-06b4ebb3de01d38-26001951-1049088-18d677687a523c%22%7D; _ga=GA1.2.1293957840.1707017602; cuipy=%2Fdefault%2Fame%2Flogin%2Fimage%2Fyuanbao1.jpg; Hm_lvt_a508812e5f39db30c00a9baf08b5552c=1706837834,1708938245; qqmail_alias=cuipy@primeton.com; _ga_YVR152L00T=GS1.2.1715336271.28.0.1715336271.60.0.0; JSESSIONID=AF715E0C119EB52157ECE78A52A40B04; SESSION=YTcyMGQ1YWUtMzgyYS00MmQyLTliODMtNmMzNzYzYjZkYzY2' \
  -H 'Referer: https://ame.primeton.com/default/sso.login?service=http%3A%2F%2Fame.primeton.com%2Fdefault%2Fame%2Fclipview%2Findex.jsp&appId=ame.primeton.com/default&sessionId=ED3D02C7C3FB2DE27C32CF7A0C7ADF68&timeOut=AF715E0C119EB52157ECE78A52A40B04' \
  -H 'Sec-Fetch-Dest: image' \
  -H 'Sec-Fetch-Mode: no-cors' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36' \
  -H 'sec-ch-ua: \"Google Chrome\";v=\"125\", \"Chromium\";v=\"125\", \"Not.A/Brand\";v=\"24\"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: \"Windows\"'"

str16="curl https://ame.primeton.com/default/common/jsp/codeImage.jsp?name=verifyCode&imageHeight=21&length=4&type=number"

str17="curl 'https://ame.primeton.com/api/afc/login/validation-sso-cas?ticket=ST-35907-WgxWnHSd0ez1c3iGsJmX&service=https%3A%2F%2Fame.primeton.com%2Fdefault%2Fame%2Fclipview%2Flowcode.jsp' \
  -H 'Accept: */*' \
  -H 'Accept-Language: zh-CN,zh;q=0.9' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: text/json' \
  -H 'Cookie: __bid_n=18d677683b612485b2479b; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%2218d677687a4154-06b4ebb3de01d38-26001951-1049088-18d677687a523c%22%2C%22first_id%22%3A%22%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E7%9B%B4%E6%8E%A5%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC_%E7%9B%B4%E6%8E%A5%E6%89%93%E5%BC%80%22%2C%22%24latest_referrer%22%3A%22%22%7D%2C%22identities%22%3A%22eyIkaWRlbnRpdHlfY29va2llX2lkIjoiMThkNjc3Njg3YTQxNTQtMDZiNGViYjNkZTAxZDM4LTI2MDAxOTUxLTEwNDkwODgtMThkNjc3Njg3YTUyM2MifQ%3D%3D%22%2C%22history_login_id%22%3A%7B%22name%22%3A%22%22%2C%22value%22%3A%22%22%7D%2C%22%24device_id%22%3A%2218d677687a4154-06b4ebb3de01d38-26001951-1049088-18d677687a523c%22%7D; _ga=GA1.2.1293957840.1707017602; cuipy=%2Fdefault%2Fame%2Flogin%2Fimage%2Fyuanbao1.jpg; Hm_lvt_a508812e5f39db30c00a9baf08b5552c=1706837834,1708938245; qqmail_alias=cuipy@primeton.com; _ga_YVR152L00T=GS1.2.1715336271.28.0.1715336271.60.0.0; JSESSIONID=AF715E0C119EB52157ECE78A52A40B04; SESSION=NTI3M2Y5NTgtMTdlNi00OWEyLWE0MjAtOGZhNmZmZDMwMzg5' \
  -H 'Referer: https://ame.primeton.com/default/ame/clipview/lowcode.jsp?ticket=ST-35907-WgxWnHSd0ez1c3iGsJmX' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36' \
  -H 'X-Requested-With: XMLHttpRequest' \
  -H 'sec-ch-ua: \"Google Chrome\";v=\"125\", \"Chromium\";v=\"125\", \"Not.A/Brand\";v=\"24\"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: \"Windows\"'"


str18="curl 'https://ame.primeton.com/default/ame_common/wxworktime/com.primeton.eos.ame_common.wx_worktime.wxTimeList.biz.ext?startdate=2024-05-09&enddate=2024-05-09' \
  -H 'Accept: */*' \
  -H 'Accept-Language: zh-CN,zh;q=0.9' \
  -H 'Connection: keep-alive' \
  -H 'Cookie: JSESSIONID=#JSessionId1#; \
    cas-login=\"#casLogin#\"; \
    __bid_n=18d677683b612485b2479b; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%2218d677687a4154-06b4ebb3de01d38-26001951-1049088-18d677687a523c%22%2C%22first_id%22%3A%22%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E7%9B%B4%E6%8E%A5%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC_%E7%9B%B4%E6%8E%A5%E6%89%93%E5%BC%80%22%2C%22%24latest_referrer%22%3A%22%22%7D%2C%22identities%22%3A%22eyIkaWRlbnRpdHlfY29va2llX2lkIjoiMThkNjc3Njg3YTQxNTQtMDZiNGViYjNkZTAxZDM4LTI2MDAxOTUxLTEwNDkwODgtMThkNjc3Njg3YTUyM2MifQ%3D%3D%22%2C%22history_login_id%22%3A%7B%22name%22%3A%22%22%2C%22value%22%3A%22%22%7D%2C%22%24device_id%22%3A%2218d677687a4154-06b4ebb3de01d38-26001951-1049088-18d677687a523c%22%7D; _ga=GA1.2.1293957840.1707017602; cuipy=%2Fdefault%2Fame%2Flogin%2Fimage%2Fyuanbao1.jpg; Hm_lvt_a508812e5f39db30c00a9baf08b5552c=1706837834,1708938245; qqmail_alias=cuipy@primeton.com; _ga_YVR152L00T=GS1.2.1715336271.28.0.1715336271.60.0.0; SESSION=NTI3M2Y5NTgtMTdlNi00OWEyLWE0MjAtOGZhNmZmZDMwMzg5; \
    JSESSIONID=#JSession2#' \
  -H 'Referer: https://ame.primeton.com/default/ame_common/wxworktime/list.jsp?time=1716799112826' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36' \
  -H 'X-Requested-With: XMLHttpRequest' \
  -H 'sec-ch-ua: \"Google Chrome\";v=\"125\", \"Chromium\";v=\"125\", \"Not.A/Brand\";v=\"24\"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: \"Windows\"'"

str18 = str18.replace('#JSessionId1#','2A677A5EC7CD8BDDE82B6E495137F96C')
str18 = str18.replace('#casLogin#','CASTGC=TGT-22397-QpxxwQCtWGKQy69i6WuWUOec01KgdOt247bHv3TeL7hTprDbWL')
str18 = str18.replace('#Bid#','708F072AEFCFB5FBF87922AF4B662DD0')
str18 = str18.replace('#JSession2#','708F072AEFCFB5FBF87922AF4B662DD0')

res2=HttpUtil.curl2requests(str18)

print(res2)

resp=requests.request(
    method=res2.method,
    url=res2.fullurl,
    data=res2.data,
    json=res2.json,
    headers=res2.headers
)

print(f" =====resp status code {resp.status_code},  content { resp.text }")